class UserStateEntity {
	int code;
	UserStateData data;
	String message;

	UserStateEntity({this.code, this.data, this.message});

	UserStateEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new UserStateData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class UserStateData {
	String bankNumber;
	String identityName;
	int status;

	UserStateData({this.bankNumber, this.identityName, this.status});

	UserStateData.fromJson(Map<String, dynamic> json) {
		bankNumber = json['bank_number'];
		identityName = json['identity_name'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['bank_number'] = this.bankNumber;
		data['identity_name'] = this.identityName;
		data['status'] = this.status;
		return data;
	}
}
